onload()
and document.ready()
methods?body.Onload()
event will be called only after the DOM and associated resources like images get loaded, but jQuery's document.ready()
event will be called once the DOM is loaded and it does not wait for the resources such as images to be loaded.